package com.example.blog.data;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class UpblogPram {
    @NotNull(message="id不能为空")
    private Integer id;
    @NotBlank(message = "文章标题不为空")
    private String title;
    @NotBlank(message = "文章内容不为空")
    private String content;
}
